/*
3. Write a program that finds the biggest of three integers using nested if statements.
*/
using System;

class biggestOfThreeIntegers
{
    static void Main()
    {
        Console.Write("Enter the first number: ");
        float firstNumber = float.Parse(Console.ReadLine());
        Console.Write("Enter the second number: ");
        float secondNumber = float.Parse(Console.ReadLine());
        Console.Write("Enter the third number: ");
        float thirdNumber = float.Parse(Console.ReadLine());
        if (firstNumber > secondNumber)
        {
            if (firstNumber > thirdNumber) Console.WriteLine("The {0} is biggest integer", firstNumber);
            else Console.WriteLine("The {0} integer is biggest", thirdNumber);
        }
        else if (secondNumber > thirdNumber) Console.WriteLine("The {0} is biggest integer ", secondNumber);
        else Console.WriteLine("The {0} is biggest integer", thirdNumber);
	}
}
